var mongoose = require('mongoose')

var schema = require('../config/schema')
var guestbookSchema = mongoose.Schema(schema.guestbook)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

var guestbookModel = mongoose.model('guestbook', guestbookSchema)

module.exports = guestbookModel;
